package com.yxinsur.imc.business.domain;

import com.yxinsur.imc.common.annotation.Excel;
import com.yxinsur.imc.common.core.domain.BaseImcEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 续期-手续费主对象 imc_renewal_recn
 *
 * @author imc
 * @date 2021-05-25
 */
@EqualsAndHashCode(callSuper = false)
@Data
public class ImcRenewalRecn extends BaseImcEntity {
    private static final long serialVersionUID = 1L;

    private Long id;

    @Excel(name = "供应商id")
    private Long supplierId;

    @Excel(name = "协议id")
    private String contractIds;

    @Excel(name = "协议费用科目id")
    private String contractExpenseIds;
    /**
     * 结算月，前端选择的YYYY-MM，默认存YYYY-MM-01
     */
    @Excel(name = "结算月，前端选择的YYYY-MM，默认存YYYY-MM-01")
    private String settleMonth;

    /**
     * 结算状态,字典为recn_status
     */
    @Excel(name = "结算状态,字典为recn_status")
    private String recnStatus;

    /**
     * 总保费
     */
    @Excel(name = "总保费")
    private BigDecimal totalPrem;

    /**
     * 总基础手续费
     */
    @Excel(name = "总基础手续费")
    private BigDecimal totalFee;

    /**
     * 供应商上传原始文件[OSS] RENEWAL_SUPLIER_RECN_YYYYMMDDHHMMSS.xlsx
     */
    @Excel(name = "供应商上传原始文件[OSS] RENEWAL_SUPLIER_RECN_YYYYMMDDHHMMSS.xlsx")
    private String supplierFileUrl;

    /**
     * 审核通过批注
     */
    @Excel(name = "审核通过批注")
    private String approvedComments;

    /**
     * 退回批注
     */
    @Excel(name = "退回批注")
    private String returnComments;

    /**
     * 反结[恢复批注]
     */
    @Excel(name = "反结[恢复批注]")
    private String revertComments;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String createId;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    private String updateId;

    /**
     * 逻辑删除
     */
    @Excel(name = "逻辑删除")
    private String isDeleted;
    /**
     * 租户id,一个租户id唯一对一个机构id（默认机构id为根节点id暨法人机构）
     */
    @Excel(name = "租户id,一个租户id唯一对一个机构id", readConverterExp = "默=认机构id为根节点id暨法人机构")
    private Long tenantId;

    @Excel(name = "备注")
    private String remark;

}
